package com.practice.share;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@ServletComponentScan(basePackages = "com.practice.share.*")
@MapperScan(basePackages = "com.practice.share.mapper")
@EnableTransactionManagement
public class MiniProgramRunApp extends SpringBootServletInitializer {

    public static void main(String args[]) {
        SpringApplication.run(MiniProgramRunApp.class, args);
    }

}




